package com.r2coding.core.constants;

import org.apache.commons.lang3.StringUtils;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2023/9/14 22:16
 **/
public class Constants {
    /**
     * 公用的字符串分隔符
     */
    public static final String COMMON_SEPARATOR = "__,__";

    /**
     * 空字符串
     */
    public static final String EMPTY_STR = StringUtils.EMPTY;

    /**
     * 点常量
     */
    public static final String POINT_STR = ".";

    /**
     * 斜杠字符串
     */
    public static final String SLASH_STR = "/";

    /**
     * Long 常量 0
     */
    public static final Long ZERO_LONG = 0L;

    /**
     * Integer 常量 0
     */
    public static final Integer ZERO_INT = 0;

    /**
     * Integer 常量 1
     */
    public static final Integer ONE_INT = 1;

    /**
     * Integer 常量 2
     */
    public static final Integer TWO_INT = 2;

    /**
     * Integer 常量 -1
     */
    public static final Integer MINUS_ONE_INT = -1;

    /**
     * TRUE字符串
     */
    public static final String TRUE_STR = "true";

    /**
     * FALSE字符串
     */
    public static final String FALSE_STR = "false";

    /**
     * 组件扫描基础路径
     */
    public static final String BASE_COMPONENT_SCAN_PATH = "com.r2coding";

    /**
     * 问号常量
     */
    public static final String QUESTION_MARK_STR = "?";

    /**
     * 等号常量
     */
    public static final String EQUALS_MARK_STR = "=";

    /**
     * 逻辑与常量
     */
    public static final String AND_MARK_STR = "&";

    /**
     * 左中括号常量
     */
    public static final String LEFT_BRACKET_STR = "[";

    /**
     * 右中括号常量
     */
    public static final String RIGHT_BRACKET_STR = "]";

    /**
     * 公用加密字符串
     */
    public static final String COMMON_ENCRYPT_STR = "****";
}
